//mouseovers

function hoverStar1(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";

}


function hoverStar2(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";
	document.star2.src ="<?=base_url()."images/star_on.png";?>";

}


function hoverStar3(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";
	document.star2.src ="<?=base_url()."images/star_on.png";?>";
	document.star3.src ="<?=base_url()."images/star_on.png";?>";

}


function hoverStar4(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";
	document.star2.src ="<?=base_url()."images/star_on.png";?>";
	document.star3.src ="<?=base_url()."images/star_on.png";?>";
	document.star4.src ="<?=base_url()."images/star_on.png";?>";

}


function hoverStar5(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";
	document.star2.src ="<?=base_url()."images/star_on.png";?>";
	document.star3.src ="<?=base_url()."images/star_on.png";?>";
	document.star4.src ="<?=base_url()."images/star_on.png";?>";
	document.star5.src ="<?=base_url()."images/star_on.png";?>";

}


//mouseouts


function offStar1(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";

}


function offStar2(){

	document.star1.src ="<?=base_url()."images/star_off.png";?>";
	document.star2.src ="<?=base_url()."images/star_off.png";?>";

}


//onclicks


function addStar1(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";

}


function addStar2(){

	document.star1.src ="<?=base_url()."images/star_on.png";?>";

}
